package com.pig4cloud.pig.homecenter.ws;

import com.pig4cloud.plugin.websocket.handler.PlanTextMessageHandler;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import org.springframework.web.socket.WebSocketSession;

@Slf4j
@Service
public class CustomPlanTextMessageHandler implements
		PlanTextMessageHandler {
	@Override
	public void handle(WebSocketSession session, String message) {
		log.info("sessionId {} ,msg {}", session.getId(), message);
	}
}
